Integrand size = 27, antiderivative size = 186 \[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=-\frac {14 b^2 \sqrt {d-c^2 d x^2}}{27 c^2}+\frac {2}{27} b^2 x^2 \sqrt {d-c^2 d x^2}+\frac {2 b x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{3 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{9 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 186, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {5914, 5889, 5894, 12, 471, 75} \[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=\frac {2 b x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{3 c \sqrt {c x-1} \sqrt {c x+1}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}-\frac {2 b c x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{9 \sqrt {c x-1} \sqrt {c x+1}}+\frac {2}{27} b^2 x^2 \sqrt {d-c^2 d x^2}-\frac {14 b^2 \sqrt {d-c^2 d x^2}}{27 c^2} \]
[In]
[Out]
Rule 12
Rule 75
Rule 471
Rule 5889
Rule 5894
Rule 5914
Rubi steps \begin{align*} \text {integral}& = -\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}-\frac {\left (2 b \sqrt {d-c^2 d x^2}\right ) \int (-1+c x) (1+c x) (a+b \text {arccosh}(c x)) \, dx}{3 c \sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}-\frac {\left (2 b \sqrt {d-c^2 d x^2}\right ) \int \left (-1+c^2 x^2\right ) (a+b \text {arccosh}(c x)) \, dx}{3 c \sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {2 b x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{3 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{9 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}+\frac {\left (2 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (-3+c^2 x^2\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}} \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {2 b x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{3 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{9 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}+\frac {\left (2 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (-3+c^2 x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{9 \sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {2}{27} b^2 x^2 \sqrt {d-c^2 d x^2}+\frac {2 b x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{3 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{9 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}-\frac {\left (14 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{27 \sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {14 b^2 \sqrt {d-c^2 d x^2}}{27 c^2}+\frac {2}{27} b^2 x^2 \sqrt {d-c^2 d x^2}+\frac {2 b x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{3 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{9 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))^2}{3 c^2 d} \\ \end{align*}
Time = 0.58 (sec) , antiderivative size = 181, normalized size of antiderivative = 0.97 \[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=\frac {\sqrt {d-c^2 d x^2} \left (-6 a b c x \sqrt {-1+c x} \sqrt {1+c x} \left (-3+c^2 x^2\right )+9 a^2 \left (-1+c^2 x^2\right )^2+2 b^2 \left (7-8 c^2 x^2+c^4 x^4\right )+6 b \left (b c x \sqrt {-1+c x} \sqrt {1+c x} \left (3-c^2 x^2\right )+3 a \left (-1+c^2 x^2\right )^2\right ) \text {arccosh}(c x)+9 b^2 \left (-1+c^2 x^2\right )^2 \text {arccosh}(c x)^2\right )}{27 c^2 \left (-1+c^2 x^2\right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(725\) vs. \(2(158)=316\).
Time = 0.56 (sec) , antiderivative size = 726, normalized size of antiderivative = 3.90
method | result | size |
default | \(-\frac {a^{2} \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{3 c^{2} d}+b^{2} \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}-6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}-2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}+2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}+6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 \left (c x +1\right ) c^{2} \left (c x -1\right )}\right )+2 a b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 \left (c x +1\right ) c^{2} \left (c x -1\right )}\right )\) | \(726\) |
parts | \(-\frac {a^{2} \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{3 c^{2} d}+b^{2} \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}-6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}-2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}+2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}+6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 \left (c x +1\right ) c^{2} \left (c x -1\right )}\right )+2 a b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right )}{8 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 \left (c x +1\right ) c^{2} \left (c x -1\right )}\right )\) | \(726\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 280, normalized size of antiderivative = 1.51 \[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=\frac {9 \, {\left (b^{2} c^{4} x^{4} - 2 \, b^{2} c^{2} x^{2} + b^{2}\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right )^{2} - 6 \, {\left (a b c^{3} x^{3} - 3 \, a b c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} - 6 \, {\left ({\left (b^{2} c^{3} x^{3} - 3 \, b^{2} c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} - 3 \, {\left (a b c^{4} x^{4} - 2 \, a b c^{2} x^{2} + a b\right )} \sqrt {-c^{2} d x^{2} + d}\right )} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) + {\left ({\left (9 \, a^{2} + 2 \, b^{2}\right )} c^{4} x^{4} - 2 \, {\left (9 \, a^{2} + 8 \, b^{2}\right )} c^{2} x^{2} + 9 \, a^{2} + 14 \, b^{2}\right )} \sqrt {-c^{2} d x^{2} + d}}{27 \, {\left (c^{4} x^{2} - c^{2}\right )}} \]
[In]
[Out]
\[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=\int x \sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{2}\, dx \]
[In]
[Out]
none
Time = 0.34 (sec) , antiderivative size = 204, normalized size of antiderivative = 1.10 \[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=\frac {2}{27} \, b^{2} {\left (\frac {\sqrt {c^{2} x^{2} - 1} \sqrt {-d} d x^{2} - \frac {7 \, \sqrt {c^{2} x^{2} - 1} \sqrt {-d} d}{c^{2}}}{d} - \frac {3 \, {\left (c^{2} \sqrt {-d} d x^{3} - 3 \, \sqrt {-d} d x\right )} \operatorname {arcosh}\left (c x\right )}{c d}\right )} - \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} b^{2} \operatorname {arcosh}\left (c x\right )^{2}}{3 \, c^{2} d} - \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} a b \operatorname {arcosh}\left (c x\right )}{3 \, c^{2} d} - \frac {2 \, {\left (c^{2} \sqrt {-d} d x^{3} - 3 \, \sqrt {-d} d x\right )} a b}{9 \, c d} - \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} a^{2}}{3 \, c^{2} d} \]
[In]
[Out]
Exception generated. \[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2 \, dx=\int x\,{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^2\,\sqrt {d-c^2\,d\,x^2} \,d x \]
[In]
[Out]